package com.example.user

import android.view.View
import android.widget.ImageView
import androidx.appcompat.app.AppCompatActivity

class ResetActivity : AppCompatActivity(), View.OnClickListener {
    private lateinit var backButton: ImageView

    override fun onCreate(savedInstanceState: android.os.Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.reset_activity)
        //将backButton绑定为title_bar_back，并设置相应的监听器
        backButton = findViewById(R.id.title_bar_back)
        backButton.setOnClickListener(this)
    }

    override fun onClick(v: View) {
        if (v.id == R.id.title_bar_back) {
            finish()
        }
    }
}